#include <iostream>


int main(){

    
    int a = 0b1001110;
    std::cout << "a=  " << a << std::endl;


    int b = ~a + 1;
    std::cout << "a取反+1=  " << b << std::endl;


    return 0;
}